Skip to content

fix: ensure CI fails when pytest fails by adding pipefail#126

Closed
lauty95 wants to merge 1 commit intoversion-15from
issue-125
Closed

fix: ensure CI fails when pytest fails by adding pipefail#126
lauty95 wants to merge 1 commit intoversion-15from
issue-125

Conversation

@lauty95
Copy link
Copy Markdown
Collaborator

@lauty95 lauty95 commented Apr 9, 2026

Bash pipelines (|) return the exit code of the last command by default. By enabling set -o pipefail, the pipeline fails if any command fails.

This ensures that the workflow correctly fails when pytest fails.

@lauty95 lauty95 linked an issue Apr 9, 2026 that may be closed by this pull request
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 9, 2026

📝 Draft Changelog Entry

Changelog

Fixed an issue where automated tests could pass even when test failures occurred. The continuous integration system now properly detects and reports when tests fail, ensuring that build failures are correctly identified and reported.

This changelog entry was automatically generated by the Changelog Generator Action.

@agritheory
Copy link
Copy Markdown
Owner

Closed in favor of #127

@agritheory agritheory closed this Apr 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI workflow passes when tests fail

2 participants